@import (reference) "~weaver-mobile/dist/weaver-mobile.less";

.outSignContainer{
    width: 100%;
    height: 100%;
    background: #fff;

    .am-tabs-default-bar-top .am-tabs-default-bar-tab, .am-tabs-default-bar-bottom .am-tabs-default-bar-tab{
        padding: 0px;
    }

    .am-tabs-default-bar-top .am-tabs-default-bar-underline, .am-tabs-default-bar-bottom .am-tabs-default-bar-underline{
        display: none;
    }

    .btnItem{
        width: 100%;
        height: 100%;
        line-height: 40px;
        padding: 3px 0px 3px 0px;
        font-size: @font-size-caption-sm;
        text-align: center;
        .btnIcon{
            line-height: 12px;
            margin-top: 3px;

            .am-icon{
                width: 12px;
                height: 12px;
            }
        }
        .btnLabel{
            line-height: 20px;
        }
    }

    .signContainer{
        width: 100%;
        height: 100%;

        .header{
            position: absolute;
            top: 0px;
            width: 100%;
            padding: 0px 16px;
            z-index: 20;
            min-height: 45 * @hd;
            border-bottom: 1px solid #e9e9e9;
            background: #fff;

            .calendar{
                width: 100%;
                height: 45 * @hd;
                line-height: 45 * @hd;
                &>div{
                    margin-right: 8px;
                    font-size: 17px;
                    color: #333333;
                    float: left;
                }

                .icon{
                    position: relative;
                    top: 12px;
                    float: left;
                    margin-right: 8px;
                }

                .arrow{
                    float: right;
                    position: relative;
                    top: 12px;
                }
            }

            .schedual{
                display: none;
                word-break: break-all;
                padding-bottom: 10px;
                font-size: 13px;
                color: #999;

                &-show{
                    display: block;
                }
            }
        }

        .content{
            position: absolute;
            top: 45px;
            bottom: 0px;
            width: 100%;
            .currLocation{
                height: calc(~"100% - 245px");
                border-bottom: 1px solid #e9e9e9;

                .map{
                    width: 100%;
                    height: 100%;
                }
            }

            .signPanel{
                height: 245px;

                .locationInfo{
                    height: 90px;
                    border-bottom: 1px solid #e9e9e9;
                    padding: 10px 20px;

                    .myLocation{
                        line-height: 35px;
                        font-size: @font-size-heading;
                        .lbl{
                            float: left;
                            color: #333333;
                        }
                        .near{
                            float: right;
                            font-size: @font-size-base;
                            color: #55B1F9;
                        }
                    }

                    .location{
                        clear: both;
                        line-height: 35px;
                        font-size: @font-size-base;
                        color: #868686;
                    }
                }

                .signBtnPanel{
                    position: relative;
                    width: 100%;
                    height: 155px;
                    text-align: center;

                    .btn{
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        margin-top: -55px;
                        margin-left: -55px;
                        width: 110px;
                        height: 110px;
                        border-radius: 50%;
                        background: #76D29F;
                        color: #fff;

                        .lbl{
                            font-size: @font-size-heading;
                            line-height: 20px;
                            padding-top: 35px;
                        }
                        .time{
                            font-size: @font-size-base;
                            line-height: 25px;
                        }
                    }
                }
            }
            
            .relocate{
                position: absolute;
                bottom: 22px;
                left: 12px;
                width: 35px;
                height: 35px;
                border: 1px solid #ccc;
                border-radius: 3px;
                background: #eee;
    
                .icon{
                    margin-left: 7px;
                    margin-top: 7px;
                }
            }
        }
    }
}

.outSignRouteLayout{
    width: 100%;
    height: 100%;
    background: #F7FAFD;

    .head{
        height: 28px;
        line-height: 28px;
        color: #fff;
        text-align: center;
        width: 100%;
        background: #717171;
        font-size: @font-size-base;
    }

    .signInfo{
        background: #FFFFFF;
        font-size: @font-size-base;

        &>div{
            display: flex;
            height: 30px;
            line-height: 30px;
            padding: 0px 8px;
            color: #868686;
            &>div{
                padding: 0px 3px;
            }
            .icon{
                .am-icon-md{
                    width: 16px;
                    height: 16px;
                    padding-top: 7px;
                }
            }
            .lbl{
            }
            .val{
                flex: 1;
                color: #333333;
            }
        }
    }

    .signRemark{
        position: absolute;
        top: 97px;
        bottom: 45px;
        width: 100%;
        background: #fff;
        display: flex;
        flex-direction: column;

        &-text{
            flex-shrink: 1;
            flex-grow: 1;
            position: relative;

            &-container{
                position: absolute;
                top: 0;
                bottom: 0;
                width: 100%;
                overflow-y: scroll;
                -webkit-overflow-scrolling: touch;
                .wm-ck-rich-editor{
                    width: 100%;
                    height: 100%;
                }
                .am-rich-editor {
                  background: @color-text-base-inverse;
                }
                .ql-container.ql-snow {
                  border: none;
                }
            }
        }

        .wm-reply { // 需要的样式自己复写下
            .wm-reply-bar {
                background: #F5F5F5;
            }
                .wm-reply-bar .am-flexbox .am-flexbox-item{
                flex: none;
                margin-left: 20px;
            }
          }



        // .txtRemark{
        //     height: 100%;
        //     width: 100%;
        // }

        // .tools{
        //     width: 100%;
        //     position: absolute;
        //     bottom: 0px;

        //     .wm-reply-bar{
        //         background: #F5F5F5;
        //     }

        //     .wm-reply-bar .am-flexbox .am-flexbox-item{
        //         flex: none;
        //         margin-left: 20px;
        //     }
        // }
    }

    .submitBar{
        position: absolute;
        bottom: 0px;
        width: 100%;
        height: 45px;
        line-height: 45px;
        color: #fff;
        background: #55B1F9;
        text-align: center;
        font-size: @font-size-base;
    }
}

.recordContainer{
    width: 100%;
    height: 100%;
    background: #F7FAFD;

    .wm-tab-page .tab-btns .tab-btn .am-icon{
        padding: 0px;
    }

    .mine{
        &>div{
            width: 100%;
            height: 100%;
            .header{
                display: flex;
                height: 40px;
                line-height: 40px;
                position: relative;
                color: #868686;
                // padding: 0px 15px 0px 15px;

                .lbl{
                    min-width: 105px;
                    max-width: 105px;
                    padding: 0px 15px 0px 15px;
                }

                .whitespace{
                    min-width: 10px;
                    max-width: 10px;
                    position: relative;
                    .am-icon{
                        position: relative;
                        width: 21px;
                        height: 21px;
                        left: -10px;
                        top: 6px;
                    }

                    .line{
                        position: absolute;
                        width: 1px;
                        background: #55B1F9;
                        height: 10px;
                        left: -1px;
                        top: 30px;
                    }
                }

                .content{
                    flex: 1;
                    text-align: right;
                    padding-right: 15px;
                    a{
                        color: #868686;
                    }
                    .am-icon{
                        margin-top: 9px;
                    }
                }
            }

            .subList{
                position: absolute;
                width: 100%;
                top: 40px;
                bottom: 0px;
                background: #F7FAFD;
                overflow-x: hidden;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
            }

            .list{
                position: absolute;
                width: 100%;
                top: 40px;
                bottom: 0px;
                background: #F7FAFD;
                overflow-x: hidden;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;

                .am-list-body{
                    border: none;
                    
                    .am-list-item{
                        padding: 0px;
                        background: #F7FAFD;
                    }
                    .am-list-line{
                        border: none !important;
                        padding-right: 0px;
                    }
                    .am-list-content{
                        padding: 0px !important;
                    }
                }

                .separator{
                    height: 8px;
                    background: #F7FAFD;
                    padding: 0px 15px;
                    display: flex;
                    
                    .date{
                        min-width: 90px;
                        max-width: 90px;
                        height: 100%;
                        border-right: 1px solid #55B1F9;
                    }
                }

                .separator:last-child{
                    height: 0px;
                    padding: 0px;
                }

                .item{
                    width: 100%;
                    display: flex;

                    &>div{
                        padding-bottom: 8px;
                    }

                    .date{
                        min-width: 105px;
                        max-width: 105px;
                        border-right: 1px solid #55B1F9;
                        &>div{
                            background: #fff;
                            height: 100%;
                            padding: 8px 15px 0px 15px;
                            .yyyyMMdd{
                                font-size: @font-size-caption-sm;
                                color: #868686;
                            }
                            .hhMMss{
                                font-size: @font-size-base;
                                color: #333333;
                            }
                        }
                    }

                    .whitespace{
                        min-width: 10px;
                        max-width: 10px;

                        &>div{
                            background: #fff;
                            height: 100%;
                            .dot{
                                width: 11px;
                                height: 11px;
                                border-radius: 50%;
                                border: 1px solid #55B1F9;
                                background: #fff;
                                position: relative;
                                left: -6px;
                                top: 12px;
                            }
                        }
                    }

                    .content{
                        min-width: calc(~"100% - 96px");
                        max-width: calc(~"100% - 96px");

                        &>div{
                            background: #fff;
                            height: 100%;
                            padding: 8px 10px;
                            &>div{
                                // padding-left: 10px;
                                width: 100%;
                                margin-bottom: 8px;
                            }
    
                            .remark{
                                font-size: @font-size-base;
                                color: #333333;
                                .val{
                                    width: 95%;
                                    white-space: normal;
                                    word-break: break-all;
                                    word-wrap: break-word;
                                    p{
                                        margin-block-start: 0px;
                                        margin-block-end: 0px;
                                    }
                                }
                            }
    
                            .imgList{
                                img{
                                    width: 64px;
                                    height: 64px;
                                    margin: 9px 9px 9px 0;
                                }
                            }
    
                            .position{
                                display: flex;
                                margin-bottom: 10px;
    
                                .location{
                                    flex: 1;
                                    padding-left: 5px;
                                    font-size: @font-size-caption-sm;
                                    color: #868686;
                                    width: calc(100% - 18px);

                                    &>div{
                                        width: 95%;
                                    }
                                }
                            }
                        }
                    }
                }

                .wm-list-page-item:first-child{
                    .item{
                        .whitespace{
                            &>div{
                                .dot{
                                    background:#55B1F9;
                                }
                            }
                        }
                    }
                }
                .wm-list-page-item:last-child{
                    .item{
                        &>div{
                            padding-bottom: 0px;
                        }
                    }
                }
            }
        }
        
        .viewType{
            position: absolute;
            width: 54px;
            height: 54px;
            line-height: 54px;
            text-align: center;
            border-radius: 50%;
            background: #55B1F9 !important;
            bottom: 20px;
            right: 20px;
            
            .am-icon{
                width: 32px;
                height: 32px;
                margin-top: 11px;
            }
        }
    }

    .dateSwitch{
        position: absolute;
        top: 12px;
        left: 8px;
        right: 8px;
        background: #fff;

        .wm-date-switch{
            display: flex;

            &>div{
                flex: 1;
                text-align: center;
                span{
                    top: 0px;
                    padding: 0px;
                    line-height: 22px;
                }
            }
        }
    }

    .map{
        width: 100%;
        height: 100%;

        .markerContent {
            padding: 3px 0 0 12px;
            color:#fff;
            width:32px;
            height:32px;
        }
    
        .markerRBg {
           background:url(http://www.e-cology.com.cn/appres/hrm/image/mobile/signin/img019.png) no-repeat;
        }
    }
}

.wm-route-layout{
    .mine{
        &>div{
            .header{
                .lbl{
                    padding: 0px;
                    padding: 0px;
                    padding-left: 15px;
                    max-width: 91px;
                    min-width: 91px;
                }
            }
            .list{
                .item{
                    .date{
                        &>div{
                            padding: 0px;
                            padding-left: 15px;
                            padding-right: 15px;
                            .yyyyMMdd{
                                padding-top: 8px;
                            }
                        }
                    }
                    .whitespace{
                        &>div{
                            .dot{
                                width: 9px;
                                height: 9px;
                            }
                        }
                    }
                    .content{
                        &>div{
                            padding: 0px;
                            padding-left: 10px;
                            padding-right: 10px;
                            .remark{
                                padding-top: 8px;
                                
                            }
                            .position{
                                padding-bottom: 8px;
                            }
                        }
                    }
                }
            }
        }
    }
}

.searchNearBy{
    width: 100%;
    height: 100%;

    .map{
        height: calc(~"100% - 289px");
    }

    .list{
        height: 245px;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        .item{
            width: 100%;
            height: 60px;
            display: flex;
            padding: 0px 8px;

            .info{
                width: calc(~"100% - 53px");
                margin-right: 8px;
                height: 100%;
                padding: 10px 0px;
                font-size: @font-size-base;
                color: #333333;

                &>div{
                    height: 20px;
                    line-height: 20px;
                }

                .address{
                    color: #868686;
                }
            }

            .selected{
                width: 40px;
                padding: 0px 5px;
                height: 100%;
                line-height: 60px;
            }
            .selected_hide{
                display: none;
            }
        }
    }

    .btn{
        height: 44px;
        line-height: 44px;
        background: #55B1F9;
        color: #fff;
        text-align: center;
        font-size: @font-size-base;
    }
}